{assign name="count"
value=":stristr($magic['type_name'],'直播')==true?(7>$mojia['home']['[module]']['num']?4:8):$mojia['home']['[module]']['num']"}
{maccms:vod weekday="'.('[module]'=='sunday'?$week[$nows].','.$nows:'').'"
num="'.($count-$advert).'"
type="'.('[class]'=='magic'?$magic['type_id']:$mojia['home']['[module]']['type']).'"
level="'.$mojia['home']['[module]']['level'].'"
order="'.$mojia['home']['[module]']['order'].'"
by="'.$mojia['home']['[module]']['sort'].'"}
<li
  class="
    mo-paxs-5px
    mo-pamd-10px
    mo-cols-info{if$count%3}
    mo-cols-xs6
    mo-cols-sm4
    mo-cols-lg3{else}
    mo-cols-xs4
    mo-cols-sm3
    mo-cols-lg2{/if}{if$count==4&&$key>(3-$advert)}
    mo-cosm-none
    mo-colg-block{elseif$count==6&&$key>(4-$advert)}
    mo-cosm-none
    mo-colg-block{elseif$count==8&&$key>(6-$advert)}
    mo-cosm-none
    mo-colg-block{/if}
  "
>
  {include file="basics/picture" type="vod" style=":mac_default($count%3?'
  mo-lazy-broad mo-byxs-16by9':' mo-lazy-highs mo-byxs-2by3')"
  tips=":mac_default(($vo['vod_points']+$vo['vod_points_play']+$vo['vod_points_down'])?'VIP':($vo['vod_level']?'推荐':($vo['vod_serial']>0?'连载数:'.$vo['vod_serial']:$vo['vod_remarks'])))"
  remark=":mac_default(mac_substring($vo['vod_remarks'],12),date('Y-m-d
  H:i',$vo['vod_time']))" name=":mac_filter_html($vo['vod_name'])"
  desc=":mac_default(mac_filter_html($vo['vod_actor']),'暂无简介')"
  image=":mac_url_img(trim($vo['vod_pic']))" href=":mac_url_vod_detail($vo)"
  title="show" lazy="open"}
</li>
{/maccms:vod}
